package com.company.strategy.type2;

/**
 * 订单信息
 */
public class Order {
    //商品id
    private String productId;
    //价格
    private double price;

    public Order(String productId, double price){
        this.productId = productId;
        this.price = price;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }
}
